package com.gae.helloUS;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.*;


public class HelloUTSA extends HttpServlet {
	public void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws IOException {
		resp.setContentType("text/plain");
		resp.getWriter().println("Hello, world, sohow");
		resp.getWriter().println("\n\nWhats up");
	}
	
	public void doPost(HttpServletRequest request, HttpServletResponse response)
		    throws ServletException, IOException {
		       //response handling

		       response.setContentType("text/html");
		       response.getWriter().println("Hello, UTSA, sohow2do the servlet in web.xml");
	}
}
		       